import 'package:json_annotation/json_annotation.dart';

import 'package:equatable/equatable.dart';

part 'attribute_optione_name_request_params.g.dart';

@JsonSerializable()
class AttributeOptioneNameRequestParams extends Equatable {
  factory AttributeOptioneNameRequestParams.fromJson(
          Map<String, dynamic> json) =>
      _$AttributeOptioneNameRequestParamsFromJson(json);

  Map<String, dynamic> toJson() =>
      _$AttributeOptioneNameRequestParamsToJson(this);

  @override
  List<Object> get props => [language, name];

  final String language;

  final String name;

  AttributeOptioneNameRequestParams(this.language, this.name);
}
